package ssm.Test.JavaMain.entity;

import java.io.Serializable;

/**
 * @Author Maple.Chen
 * @Description  雇员父类
 * @Date 11:31 2020/4/26
 **/
public class Employee implements Serializable {
    private Integer id; // 雇员id
    private String name; // 雇员姓名

    public Employee() {
    }

    public Employee(Integer id, String name) {
        this.id = id;
        this.name = name;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Employee{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }
}
